package com.springboot.frame.starter.access;

/**
 * @author liheng
 * @ClassName AccessToken
 * @Description AccessTokenVO 访问token
 * @date 2019/12/7 15:29
 * @Version 1.0
 */
public class AccessTokenVO<T> {
    private T userInfo;
    private String token;
    private long expiresIn;
    private String refreshToken;

    public T getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(T userInfo) {
        this.userInfo = userInfo;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public long getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(long expiresIn) {
        this.expiresIn = expiresIn;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }
}
